/**
 * Copyright (c) 2013-Now http://jeesite.com All rights reserved.
 */
package com.jeesite.modules.goods.entity;

import java.util.Date;

import com.fasterxml.jackson.annotation.JsonFormat;
import com.fasterxml.jackson.annotation.JsonIgnore;
import com.jeesite.common.entity.DataEntity;
import com.jeesite.common.mybatis.annotation.Column;
import com.jeesite.common.mybatis.annotation.Table;

/**
 * 测试数据Entity
 * 
 * @author ThinkGem
 * @version 2018-04-22
 */
@Table(name = "zt_card_mem", alias = "a", columns = {
		@Column(name = "id", attrName = "id", label = "编号", isPK = true),
		@Column(name = "cardid", attrName = "cardid", label = "地址"),
		@Column(name = "adminid", attrName = "adminid", label = "小程序用户id"),
		@Column(name = "status", attrName = "status", label = "状态"),
		@Column(name = "start_date", attrName = "startDate", label = "创建时间"),
		@Column(name = "end_date", attrName = "endDate", label = "创建时间"),
		@Column(name = "create_date", attrName = "createDate", label = "创建时间"),
		
}, orderBy = "a.def_status desc,a.create_date DESC")
public class ZtCardMem extends DataEntity<ZtCardMem> {

	private static final long serialVersionUID = 1L;
	private String cardid;
	private ZtCard ztCard;
	private String adminid;
	private Date startDate;
	private Date endDate;
	private String status;
	
	
	public ZtCard getZtCard() {
		return ztCard;
	}
	public void setZtCard(ZtCard ztCard) {
		this.ztCard = ztCard;
	}
	public String getCardid() {
		return cardid;
	}
	public void setCardid(String cardid) {
		this.cardid = cardid;
	}
	public String getAdminid() {
		return adminid;
	}
	public void setAdminid(String adminid) {
		this.adminid = adminid;
	}
	@JsonFormat(pattern = "yyyy-MM-dd")
	public Date getStartDate() {
		return startDate;
	}
	public void setStartDate(Date startDate) {
		this.startDate = startDate;
	}
	@JsonFormat(pattern = "yyyy-MM-dd")
	public Date getEndDate() {
		return endDate;
	}
	public void setEndDate(Date endDate) {
		this.endDate = endDate;
	}
	@JsonIgnore
	private Date createDate;
	@JsonIgnore
	private String updateBy;
	@JsonIgnore
	private String createBy;
	@JsonIgnore
	private Date updateDate;
	
	@JsonIgnore
	public String getStatus() {
		return status;
	}
	public void setStatus(String status) {
		this.status = status;
	}
	@JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
	public Date getCreateDate() {
		return createDate;
	}
	public void setCreateDate(Date createDate) {
		this.createDate = createDate;
	}

	

}